two easy assignments on C program

timer Asked: Jan 1st, 2018
account_balance_wallet $15

Question description

please see the attachment in order to know what are the requirements. you should work on the C program, all what you have to do is to type the requirements in the C program , they are really easy

ECE 102 Assignment #16 Currency exchange table Generate a table of conversions from Russian rubles to US dollars. Start the rubles column at 10 rubles and increment by an amount that is entered by the user. The number of lines in the table should be entered by the user as well. 1 U.S. dollar = 57.94 Russian Rubles Pre-lab assignment 1. Pick some values for the inputs and write down an example output first. This is a hand example as required in step 3. 2. Write down the first two steps of problem solving. 3. Answer the following questions a. What is being repeated? ____________________________________ b. Which variable is the counter? (describe and pick a valid name for it) _________________________ i. Initial value of counter _______________ ii. Increment of counter _______________ iii. Final value of counter________________ Hint: you may either use the line number or the value of rubles as the counter. 4. Write down the pseudo code. Use while loops for error checking. 5. Trace the pseudocode using increment = 20 (rubles) and the number of lines = 5.
ECE 102 Assignment #17 Using loop to compute sum Write a program to calculate the following summation sum  1  23  33    n 3 Your program should prompt the user to enter the number of terms, n. Pre-lab assignment 1. Write down an example output first. This is a hand example as required in step 3. 2. Find an example in the notes to use as a reference. 3. Write down the first two steps of problem solving. 4. Write the pseudo code that use a while loop to calculate the sum 5. Trace the while loop.

Tutor Answer

School: Rice University

Here's the files. Remember you have to convert the .txt extension to .c or .cpp since the site won't let me upload that type of file.

Ali Almusallam
This program computes the sum of the first n cubes where n is user-input */
int cubic_sum(void)
n, /* variable for storing user input; number of cubes to compu...

flag Report DMCA

Excellent job

Similar Questions
Hot Questions
Related Tags

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors