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.
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:
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
by CodeChum Admin
Now that we're done with integers, we're moving on to decimals!
Instructions:
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