+44(0) 1234 567 890 info@domainname.com

Wednesday, 19 June 2013

Examples of Basic programs in Data Structure Lab 1

05:20

Share it Please
Example No :01


Make a Menu using switch cases that consist of following functions,all the function are  selected by user choices?

  • Write a Program to enter three integers and output the smallest integer using IF.
  • Write a Program to enter 10 integers in a single-dimension array and then print out the array in ascending order.
  • Write a Program to enter a sentence and output the number of uppercase & lowercase consonants in sentence.
  • Write a Program to convert temperatures from Celsius to Fahrenheit and vice verse.
  • Write a Program to find the roots of a quadratic equation.
  • Write a Program to count the number of words and characters in a sentence.
  • Write a Program to enter an integer and output its 15 multiples.
  •  Write a Program to enter three integers and output the biggest integer using IF.
  • Write a Program to enter two integers and print the quotient and remainder.
  • Write a program to convert days into years and weeks.
 Source Code

0 comments:

Post a Comment