Write pseudocode and translate it to c-program

Assignment Help C/C++ Programming
Reference no: EM132095878

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.

Reference no: EM132095878

Questions Cloud

Write a program that gets ints from a file : Write a program that gets ints from a file. These are numerators and denominators, and you are to create Fractions.
A paint calculator that gives the customer the area : Create a CustomerData.txt file with 10 Customers including Customers Name, Room Name, Length of the Room, Width of the room and Height of the room.
Display the percentage of table had been occupied : The input data are randomly generated UNIQUE upper case data names with eight characters in length (Each name has to be unique).
Ongoing presence in the channel : What have some retailers in your area done to justify their ongoing presence in the channel?
Write pseudocode and translate it to c-program : 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.
What are the major differences you have experienced : What are the major differences you have experienced in buying a product through a traditional retail store
Batch of salami was sold to supermarkets : This batch of salami was sold to Supermarkets Pty. Ltd. for sale in its supermarket in Melbourne. On 20 July 2018, Ann purchased a package of salami
Create a node class or struct : Create a node class/struct. Create a queue class/struct.
Find out the prime numbers from the given list : Find out the prime numbers from the following list (15, 16, 17, 23, 2, 32, 3, 31, 13, 19, 12, 9) and push/store them in a stack and then print.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Feature for entreing information about a new train

Write a program in C++ to maintain the information for a Train station regarding the arrival and departure of trains in that station. Program should have the feature for entreing information about a new train arrived or departed at any point of ti..

  Calculate the score percentage

If the input value within the valid range, the program will display a "good score" message; otherwise, the program will display an error message and then terminate the program. The program will then calculate the score percentage and then determin..

  As more and more mobile and handheld devices

As more and more mobile and handheld devices become prolific in everyday life, many applications have been ported from a traditional PC environment to the mobile devices. Mobile devices tend to have proprietary platforms with their own unique operati..

  Write a value-returning function arraymaximum()

Write a C++ program that uses a two dimensional array, testgrades[][], for 10 students and scores from 5 tests.

  Program that evaluates a infix expression

Program that evaluates a infix expression using stacks terminated by an equal sign. for example: (4-2)-5)/(2+1)-2))=the expression will contain single digit and the operators +, -, *,/. Make sure to consider the operator precedence.

  What difference between sequential access and direct access

What is the difference between sequential access and direct access? What do the seekg() and seekp() functions do? What do the read() and write() functions do?

  Write a c program that request the name of cartoon character

Write a C program that requests the name of any cartoon character from the user, then does the following with that name (use printf for each): a. Displays it enclosed in double quotes.

  Write a class volumeofbox that calculate the volume

write a class VolumeOfBox that calculate the volume by this formula : length * breadth *

  Compare the standard deviation and standard error

Calculate the integral of function between 0 and 2p using the rejection method - Compare the standard deviation and standard error

  Program for atm machine using linked list

Write a c++ program for atm machine using linked list as data structures?

  Show the restriction range of values from rand

How to write a program to demonstrate the use of random number functions in c++ program. and to show the restriction range of values from rand()using %

  Write a function named read_line

supposes you have a directory whose name is stored in 'specs.file_dir' which contains a file whose name is stored in 'specs.file_name'.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd