Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hey, I Feel Difficult in solving these Questions. Can Everyone Here To Solve My These problems? IT Series = Object-Oriented Programming using Cry 192 3.

Hey, I Feel Difficult in solving these Questions. Can Everyone Here To Solve My These problems?

image text in transcribed
IT Series = Object-Oriented Programming using Cry 192 3. Write a program to find the largest, smallest, and average of n whole numbers, You can assume that "n" has already been set by the user. Write a program that will ask the user a question with four possible answers, The question should be asked 20 times. After all the input is gathered, the program should output the number of times each answer was selected. 7. Write a program that inputs a series of 20 numbers and displays the minimum vale Write a program that inputs a number from the user and displays Fibonacci series up to the number entered. 9. Write a program that Inputs a number from the user and displays all Armstrong numbers up to the number entered. 10. Write a program that inputs a number from the user and displays all perfect numbers up to the number entered. 11. Write a program that inputs the number of students in the class. It then inputs the marks of these students and displays the highest and second highest marks. 12. Write a program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999. A typical input sequence might be 10 8 6 7 2 9999 indicating that average of all values preceding 9999 is required. 13. Write a program that inputs a number from the user and displays all prime numbers which are less than the input number using any loop. 14. Write a program that inputs a number from the user and displays its factorial. It asks the user whether he wants to calculate another factorial or not. If the user inputs 1, it again inputs number and calculates factorial. If user inputs 0, program terminates. 15. Write a program that inputs an integer and displays whether it is a prime number or not

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions

Question

=+11. You are to receive $100 a year for the next 40 years.

Answered: 1 week ago