Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help ASAP. Correct answer will get a thumbs up! This is C language. You are NOT allowed to use any arrays. BUT you can

Please help ASAP. Correct answer will get a thumbs up! This is C language.

You are NOT allowed to use any arrays. BUT you can use pointers.

Write pseudocode and translate it to C-program for the following problem.

Mus use a function for each subproblem.(1, 2, and 3)

1) Ask users to input a series of integers. The input will end with the number 0. Assume users will never input more than 10 integers before input 0.

2) print all the input numbers to the screen in the order they are input by the users, and

3) print the maximal number of the input numbers to the screen, in a user friendly manner. An example execution of the C-program is as follows (where the underlined are user inputs): Input a series of integers (ended with 0): 1 3 15 20 0 The numbers in the order of the input are 1,3,15,20. The maximal number of them is 20.

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

The Database Factory Active Database For Enterprise Computing

Authors: Schur, Stephen

1st Edition

0471558443, 9780471558446

Students also viewed these Databases questions