Question: a. Write a pseudo code read a 4-digit number and print a new number with digits reversed as of original one. (6 Marks) Example:

a. Write a pseudo code read a 4-digit number and print a  new number with digits reversed as of original one. (6 Marks) Example:  

a. Write a pseudo code read a 4-digit number and print a new number with digits reversed as of original one. (6 Marks) Example: Input: 4356 Output: 6534 Input: 1023 Output: 2301 b. Find the errors if any in Column A write the correct statement in column B for the following program. (2 Marks) elumn A Column B Finchude (itdio.h) int main ) double printEnter three diferent umbersk scandf r, Anl, &n2, if (nl2A nl -a) print2fis the largest mber.". nik if en2al && n2a printi 2r is the larpest mumber.". Ifin nl && n 2) print2ris the largest aumber.". Column A Calumn B Finclode (stdioh) int main () double nl, a2, n3: printater three different mambersk scanl"lf r sur. Anl, an2, n3). printi2fis the largest mber.". nik printi 2f is the larpest mumber.". print2f is the laegest manber.".

Step by Step Solution

3.36 Rating (149 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a PsuedoCode step 1 Start step 2 Intilize the variablereverse0 step 3 Read the 4digit number as num ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!