Question: for C++ and visual studio shoukd use arrays and for loops. can only use #include #include #include #include if you woukdnt mind using lots of

for C++ and visual studio
shoukd use arrays and for loops.
can only use
#include
#include
#include
#include
if you woukdnt mind using lots of comments to help me inderstand what or why your doing something, that would be greatly appreciated
#define _CRT_SECURE_NO_WARNINGS  for C++ and visual studio shoukd use arrays and for loops.
can only use #include #include #include #include if you woukdnt mind using
just ignore the "format for lab 1 and lab 2" it simply meams main must go first and the functions go after words.
yes its i. C laungauge. i apologize i was under the impression C++ and c were the same.
s

Use i, j, and k (in that order) for loop counters. Your program must use for loops where specified or it will receive a grade of 0. 1. Write seven separate functions to: a explain the purpose of this program to the user. b. get the user's name. c. ask the user to enter 10 integers. Acceptable values are from -1000 to +1000, inclusive. Store these values as the first 10 elements of a one dimensional array of size 12. Use a for loop. d. find the smallest value in the array and place it in the next available location in the array. Use a for loop. e. find the largest value in the array and place it in the last available location in the array. Use a for loop. f. calculate the average value of the array and return it to the calling, function. Use a for loop. a. clear the screen before displaying the results using system("cls") which also requires #include , then display the user's name, and use a for loop to display all of the input numbers, the smallest, largest and average values. The average value should be displayed with one decimal place. The display should also include appropriate descriptions and formatting. Each of the functions will be called from main. The program must have a complete title block, following the format required for lab 1. Each function must have a complete function description, following the format required for lab 2. 5. Each function must be compact enough to fit on one screen

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!