Coding Global Background
Coding Global

c++ question

Archived 3 years ago
2 messages
1 members
3 years ago
Open in Discord
I
ilham

Create a program that asks the user the number of integers she / he wants to enter. Then the program has to ask for the integers in sequence. For each integer i inserted the program must print the multiples of 7 included between i and i / 2, in decreasing order, upper extreme included, lower extreme excluded. If the user enters three consecutive integers a, b and c such that b is the floating point average of a and c, the total number of integers to be inserted has to be decreased by one. (It’s probably a dumb one but it’s for school and I’m stuck)

Replies (2)