[SOLVED] IT1010 Tutorial 4

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Tutorial-4-lksmxd.zip (102.3 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
Rate this product

 

Question 1

 

  1. Draw a flow chart to display your name

 

  1. Write a C program to display your name and save the program as c

 

  • Modify the above program to display the message “Welcome to SLIIT” with each word on a separate line.

(hint: use one printf statement)

 

Question 2

 

Write C programs to display the following shapes with asterisks.

 

********                                      *                                         *

  • *                                         * *        * * *
  • *                                         * * *     * * * * *
  • *                                         * * * *              *
  • *                                         * * * * *           *  ********                              * * * * * *         *

 

Question 3

 

Draw a flow chart to enter two numbers from the keyboard and display the total.                                    Write a C program for the above flow chart.

 

Question 4

 

  1. A bank is giving 10% annual interest rate for customer accounts. Draw a flow chart to enter the balance of an account and calculate the annual interest. Display the annual interest and the new balance after adding the interest.

Annual interest =  balance * annual interest rate/100

 

  1. Convert the above flow chart to a C program.
  • Tutorial-4-lksmxd.zip