Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started