Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using C codes (a) A programmer task is to create a program that take TWO (2) numbers from user, then count and display the percentage

image text in transcribed

Using C codes

(a) A programmer task is to create a program that take TWO (2) numbers from user, then count and display the percentage of differences between the two numbers (set it to two decimal places). Subtracting a smaller number from a larger number. User should enter a positive number only, if not, the program will keep repeating asking for the number. Analyze the problem given by determining the input and output of the program, the calculation and the boundary condition involved. 11 Draw the flowchart for the task. (5 marks] Write a complete program based on the answer given in Q2a) (11). (b) A programmer has made a buy/sell program for a jewely company. Unfortunately, he is taking so much time in changing the coding every time his boss wants to update the value of gold price. Give TWO (2) solutions to this programmer

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 Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions

Question

1. What is game theory?

Answered: 1 week ago

Question

define EFFECTIVE PARTICIPATION

Answered: 1 week ago