Skip to content

mihirg008/Basic-C-Programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 1

  1. Write four statements by using printf function to print an asterisk pattern having 20, 15,10 and 5 asterisks (* ) in successive line
  2. Prompt the user to input the co-ordinates of two points on a plane. Compute the Euclidean distance between the two points and display the result.
  3. Assuming every year is made of 365 days and every month consists of 30 days, write a program that prompts the user to enter “number of days” and uses integer arithmetic to convert the number of days into years, months, and days.

About

Practice problems coded in C Programming Language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages