Asslam O Alykum
mjhy yaha computer programing ki help cahaye c# progrmming may in visual studio may
kia ap may say koi in qustions ko solve kr skta hay.....mjhy submit krwany hay ...............
plzzzz agr koi bta skta hay to answers bta day .....
Q.1 If cost price and selling price of an item is input through the keyboard, write a program to determine whether the seller has made profit or incurred loss. Also determine how much profit he made or loss he incurred.
Q.2 Any integer is input through the keyboard. Write a program to find out whether it is an odd number or even number.
Q.3 Any year is input through the keyboard. Write a program to determine whether the year is a leap year or not. (Hint: Use the % (modulus) operator)
Q.4 A five-digit number is entered through the keyboard. Write a program to obtain the reversed number and to determine whether the original and reversed numbers are equal or not.
Q.5 If the ages of three persons are input through the keyboard, write a program to determine the youngest of the three.
Q.6 Two numbers are entered through the keyboard. Write a program to find the value of one number raised to the power of another.
Q.7 Write a program to print all the ASCII values and their equivalent characters using a while loop. The ASCII values vary from 0 to 255.
Q.8 Write a program to enter the numbers till the user wants and at the end it should display the count of positive, negative and zeros entered.
Q.9 Write a program to print pattern.
*
**
***
****
*****
*******
Q.10 Write a program to take the weight (in pounds) of an object as input data; compute and print the object’s weight in kilograms and grams. (Hint: one pound is equal to 0.453592 kilogram or 453.59237 grams).
Q.11 If a human heart beats on the average of once a second, how many times does the heart beat in a lifetime of 78 years? (Use 365.25 for days in a year).
Q.12 Take the radius of a circle and compute and print its area and circumference.
Q.13Write a program to print
*****
***
**
*
can anyone solve themmmmmmmm...............
mjhy yaha computer programing ki help cahaye c# progrmming may in visual studio may
kia ap may say koi in qustions ko solve kr skta hay.....mjhy submit krwany hay ...............
plzzzz agr koi bta skta hay to answers bta day .....
Q.1 If cost price and selling price of an item is input through the keyboard, write a program to determine whether the seller has made profit or incurred loss. Also determine how much profit he made or loss he incurred.
Q.2 Any integer is input through the keyboard. Write a program to find out whether it is an odd number or even number.
Q.3 Any year is input through the keyboard. Write a program to determine whether the year is a leap year or not. (Hint: Use the % (modulus) operator)
Q.4 A five-digit number is entered through the keyboard. Write a program to obtain the reversed number and to determine whether the original and reversed numbers are equal or not.
Q.5 If the ages of three persons are input through the keyboard, write a program to determine the youngest of the three.
Q.6 Two numbers are entered through the keyboard. Write a program to find the value of one number raised to the power of another.
Q.7 Write a program to print all the ASCII values and their equivalent characters using a while loop. The ASCII values vary from 0 to 255.
Q.8 Write a program to enter the numbers till the user wants and at the end it should display the count of positive, negative and zeros entered.
Q.9 Write a program to print pattern.
*
**
***
****
*****
*******
Q.10 Write a program to take the weight (in pounds) of an object as input data; compute and print the object’s weight in kilograms and grams. (Hint: one pound is equal to 0.453592 kilogram or 453.59237 grams).
Q.11 If a human heart beats on the average of once a second, how many times does the heart beat in a lifetime of 78 years? (Use 365.25 for days in a year).
Q.12 Take the radius of a circle and compute and print its area and circumference.
Q.13Write a program to print
*****
***
**
*
can anyone solve themmmmmmmm...............