Q. Write a program in C to print the larger of two numbers with t he help of algorithm and flowchart. Algorithm: Step 1: Start Step 2: Read a, b . /* a, b two numbers */ Step 3: If a>b then /*Checking */ Display “a is the largest number”. Otherwise Display “b is the largest number”. Step 4: Stop. Flowchart : Program: Output:
This site offers a solution for difficult programming problems. The solution covers several programming languages like C, WordPress, WooCommerce, JS etc.