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

write a C++ programme to take in put from user in a dynamic array and find positive ,negative ,neutral, maximum and minimum number.it must be function


Write a program to read the elements of a sparse matrix from the user and display 

it in its 3-tuple form. Your program should verify whether at the entire matrix 

is sparse or not.


Write a C++ Program to Read Write Lecturer Details using File Handling. Data members , Name, EmployeId, Department. Member functions are setter and getter function. Array of 3 lecturer data should be written and read in a file.


2. Make another file and read data from first file and write into second file in reverse order.

Create a C++ program that will accept input of any number then press 0 to stop. Count and display the positive and negative numbers.

Create a C program to find the total number of of illiterate men and women from the population in the town.If the percentage of men is 54 from the population, and total literacy is 80% from the population.Then the total population is input to the keyboard.

Write a JavaScript program which accepts amount in rupees as input (integer) within Range from

Rs. 100 to Rs. 100000 and then asks the user for particular currency note preference and display the total

number of currency notes of Rs. 500, 100, 50, 20, 10, 5, and 1. The user can be given a maximum of 200

notes of his preferred choice. (5 marks)

For example: when a user enters a number, Rs. 57477 and enters 50 notes as his preferred choice, the

results would be like this.

Currency Note : Number

500 : 94

100 : 4

50 : 200

20 : 3

10 : 1

5 : 1

1 : 2


Write a C program to count the number of non-zero elements and sum of upper triangular


in a two-dimensional matrix using function. [Hint function should accept 2D array as


argument.]




write a c program to define a structure called a car. the member elements of the car structure are model(like bmw, ford...etc), production year (1999,2020,...), and lastly price. create an array of 10 cars. get input for all 10 cars from the user. then the program display complete information (model, year, price) of those cars only which are above 250000 in price or production date bigger than 2000.



5. Input Combination

by CodeChum Admin

We’ve tried adding together integers, so how about adding characters as well? Well, we can’t do that with the knowledge we have now, so let’s use placeholders to do the trick!


Instructions:

  1. Input two characters in one line, separated by a space.
  2. Make the characters be printed out like it’s concatenated by printing it without spaces in between using placeholders. Refer to the sample output for your reference.
  3. In your scanf, don't forget to add a space in between the two placeholders for the characters because if you don't, the character that will be scanned for the second variable would actually be the space in between the two characters (because a space is also a character).

Input


1. First character

2. Second character

Output


The first two lines will contain message prompts to input the two characters.

The last line contains the two characters together.


Enter·the·first·character:·A

Enter·the·second·character:·B

AB


Decimal x Decimal

by CodeChum Admin

Now that we're done with integers, we're moving on to decimals!


Instructions:

  1. Input three decimal numbers in one line separated by spaces, and make sure to store them in different variables.
  2. Multiply the 1st and 2nd decimal numbers, and store the product into a variable.
  3. Then, divide the product of the 1st and 2nd decimal numbers with the 3rd decimal number, then print out its quotient.

Input


1. First decimal number

2. Second decimal number

3. Third decimal number

Output


The first three lines will contain message prompts to input the three decimal numbers.

The last line contains the result in two decimal places.


Enter·the·first·number:·1.53

Enter·the·second·number:·2.25

Enter·the·third·number:·1.23

Result·=·2.80




LATEST TUTORIALS
APPROVED BY CLIENTS