Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ Lap 5.7 LAB Write a program using a for or while loop to find the square and cube of numbers from 1 to 10.

c++ image text in transcribed
Lap 5.7 LAB Write a program using a for or while loop to find the square and cube of numbers from 1 to 10. Lap 5.8 LAB Write a program that ask the user to enter 5 double numbers through the keyboard using interactive input in a loop. Find and display the average of the data entered. Lap 5.9 LAB Write a C++ program to ask the user input 6 positive and negative members through the keyboard then compute and display the sum of positive and negative numbers separately Lap 5.10 LAB - Using a while loop Write a C++ program to find and display the value of the function y given as following: y=15 + 2r - 3. for the values of x in between 2 and 10, with an increment of 1. Lap 5.11 LAB. Using a for loop Write a C++ program to find and display the value of the function y given as following: y=10 + 3 +15, for the values of x from 5 to 1, with a decrement of 0.5. Lap 5.12 LAB. Using a for loop Write a C++ program to find and display the value of the function y given as following: v=152 + 2x - 3, for the values of x in between 2 and 10, with an increment of 1. Lap 5.13 LAB. Using a while loop Write a C++ program to find and display the value of the function y given as following: y = 10 + 3r+15, for the values of x from 5 to 1, with a decrement of 0.5. Lap 5.14 LAP Write a C++ program to reverse the digits of a positive integer numbers. For example if the number 1234 is entered, the number displayed should be 4321. Lap 5.15 Post-lab Write a C++ program to asks the user enter 10 numbers then print the MAX and the MIN on the secreen. Lap 5.16 Post-lab Write a C++ program to asks the user enter grades for 10 subject then print out how many subject did the user pass and fail. Lap 5.17 Post-lab Write a C++ program to find and print all the integer numbers between 1 to 1000 that can be divisible by 7

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

Students also viewed these Databases questions