Programming fundamental
public
main()
{
int len;
printf("Enter height of Triangle:");
scanf("%d",&len);
len=len*2;
int half;
half=len/2;
int c=0;
for(int i=1;i
void main()
{
int i,j,k=1;
clrscr();
for(i=1;i
void main()
{
clrscr();
for(int a=1;a
*write a program which input time in seconds,convert into hours and minutes*/
void main()
{
int seconds,minutes;
float hours;
cout
void main()
{
int work_days,work_hours,pay_rate, weekly_pay,monthly_pay;
cout
Write a program in which input iteam price,cost of iteam,no of sold iteam,and expence on iteam and calculate the total income and net income*/
void main()
{
int iteam_price,iteam_cost,sold_iteam,expence,total_income,Net_income;
cout
*Write a program in which input iteam price,cost of iteam,no of sold iteam,and expence on iteam and calculate the total income and net income*/
void main()
{
int iteam_price,item_cost,sold_iteam,expence,total_income,Net_income;
cout
write a program in which the inputs innings runs and ball playe by a batsman and calulate the average and strike rate of a batsman*/
void main()
{
float innings,runs,balls,average,strikrate;
cout
Write a program which calculate population of each province according to the following percatage*/
void main()
{
float totalpopulation,kpk,sindh,punjab,baluchistan;
totalpopulation=182.1;
kpk=15.7;
sindh=22.6;
punjab=56.1;
baluchistan=5.1;
cout
*Write a program which inputs age in days,then convert into months and years*/
void main()
{
int days,years,months;
coutdays;
years=days/365;
cout
void main()
{
float miles,kilometer;
miles=1.60934;
cout
IF ELSE PROGRAMME
void main(){
int english,urdu,drawing, totalmarks=300;
float obt_marks,per;
cout
Category
Contact the school
Telephone
Website
Address
Ring Road Peshawar
Peshawar
25000
Alerts
Be the first to know and let us send you an email when Programming fundamental posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.