[SOLVED] C-project - Homework 1

30.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

Homework Questions Part 1 1. Draw a flowchart to add two numbers entered by user.

  1. Calculate the area of a circle with given radius.
  2. Determine and Output Whether Number N is Even or Odd.
  3. Determine Whether a Temperature is Below or Above the Freezing Point.
  4. Convert Temperature from Fahrenheit (℉) to Celsius (℃).
  5. Write an algorithm and draw a flowchart to convert the length in feet to centimeter.
  6. Write an algorithm and draw a flowchart to print the square of all numbers from 1 to10.
  7. Write an algorithm and draw a flowchart to print the SUM of numbers from LOW to HIGH. Test with LOW=3 and HIGH=9.
  8. Write an algorithm and draw a flowchart to print all numbers between LOW and HIGH that are divisible by NUMBER.
  9. Draw a flowchart to find the largest of three numbers A, B, and C.
  10. Draw a flowchart for a program that reads 10 numbers from the user and prints out their sum, and their product.
  11. Write an algorithm and draw a flowchart to count and print all numbers from LOW to HIGH by steps of STEP. Test with LOW=0 and HIGH=100 and STEP=5.
  12. Write an algorithm and draw a flowchart to print the multiplication table for 6’s.
  13. Draw a flowchart for computing factorial N (N!).
  14. Draw a flow chart to print all natural numbers in reverse (from n to 1).
  15. Design an algorithm which generates even numbers between 1000 and 2000 and then prints them in the standard output. It should also print total sum.
  16. Design an algorithm with a natural number, n, as its input which calculates the following formula and writes the result in the standard output: S = ½ + ¼ + … +1/n.
  17. Design an algorithm to convert a decimal number, n, to binary format?
  18. Draw a flow chart to print multiplication table of any number.
  19. Draw a flow chart to count number of digits in a number.
  20. Draw a flow chart to find first and last digit of a number.
  21. Draw a flow chart to swap first and last digits of a number.
  22. Draw a flow chart to check whether a number is palindrome or not.
  23. Draw a flow chart to find frequency of each digit in a given integer.
  24. Draw a flow chart to find HCF (Highest Common Factor) of two numbers.
Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.