Homework Answers

Math 51397 50414
Physics 44335 44333
Chemistry 40988 40988
Economics 30646 30644
Programming & Computer Science 26878 26876
English 10084 10084
Biology 8111 8109
Management 6239 6239
Engineering 6056 6056
History 3490 3489
Psychology 2129 2129
Sociology 1858 1858
Geography 1574 1574
Marketing 1443 1443
Philosophy 1001 1001
Political Science 892 891
Law 876 876
French 438 438
Other 199 199

Questions: 238 634

Answers by our Experts: 237 641

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Two resistances, one 12 Ω and the other 18 Ω, are connected in parallel. What is the equivalent resistance of the parallel combination?


: Write a program to take input for n book records from user and write those book records in a file named: ”record”, whose price is less than INR 500 . Program should also perform random access in the file, after taking input for a particular record number to read and it should also perform random record overwriting after taking input of new record and the record number to overwrite. After overwriting record, display all records on the screen [Attributes of book: Book_id, Book_price, Book_name, Book_author_name]


  1. A DepEd official claim that the average performance in Mathematics is 82.4%. A random of 25 students showed that their mean performance in Mathematics is 81.3% with a standard deviation of 4.2%. Test whether the mean performance of the students is not significantly lower than the general average. Use 0.01 level of significance.

How to convert basic data to user


defined data type? Explain

Andy has the word W and he wants to print the unique characters in the word in the order of their occurrence.write a program to help Andy print the unique characters as described above.


NOTE : consider lower and upper case letters as different


Input

The input is a single line containing the word W.


Output

The output should be a single line containing space separated characters.


Explanation

In the example, the word is MATHEMATICS

The unique characters in the given word are M, A, T, H, E, I, C, S, in the order of occurrence.so the output should be M A T H E I C S.


Sample Input1

MATHEMATICS

Sample Output1

M A T H E I C S


Sample Input2

banana

Sample Output2

b a n



Write a program to print a parallelogram pattern with * characters. The size N represents the length (the number of * characters in each line)& breadth ( the number of lines) of the parallelogram.

The slope of the parallelogram T represents the number of extra spaces a line should have in the beginning compared to its next line. The last line of the pattern does not have any spaces in the beginning.


Explanation:

Given N=3 and T=2, each line should have 3 star(*) characters.

The last line should have 0 spaces at the beginning.

Each line has 2 extra spaces characters when compared to its next line.


Sample Input1

2

2

Sample Output1

 **
**

Sample Input2

3

2

Sample Output2

  ***
 ***
***

You given a list of prices where prices[i] is the price of a given stock o the i th day write a program to print the maximum profit by choosing a single day to buy a stock and choosing a different day in the future to sell that stock if these is no profit that can be achieved return 0.


Input

The input is a single line containing space seperated integers.


Output

The output should be a single line integer.


Explanation

In the example the given prices are 7 1 5 3 6 4.

buying stocks on day two having price 1 and selling them on the fifth day having price 6 would give the maximum profit which is 6 - 1

so the output should be 5.


Sample Input1

1 2 1 3 6 7 4

Sample Output1

6


Two dices are tossed together, what is the probability of having a multiple of 12.

write a program to add three find factorial using class


Write a program to overload operators in the same program by writing suitable operator friend functions for following expression:



O7=((O1>=O2) +(O3 && O4) *(O5<O6)) [Here O1,O2,O3,O4,O5,O6 and O7 are objects of a class “overloading”, and this class is having one integer data member]

LATEST TUTORIALS
APPROVED BY CLIENTS