Programming fundamental

Programming fundamental

Share

public

14/12/2015



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

13/12/2015



void main()
{
int i,j,k=1;
clrscr();
for(i=1;i

07/10/2015



void main()
{
clrscr();

for(int a=1;a

19/09/2015

*write a program which input time in seconds,convert into hours and minutes*/


void main()
{
int seconds,minutes;
float hours;
cout

19/09/2015



void main()
{
int work_days,work_hours,pay_rate, weekly_pay,monthly_pay;
cout

19/09/2015

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

19/09/2015

*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

19/09/2015

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

19/09/2015

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

19/09/2015

*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

19/09/2015



void main()
{
float miles,kilometer;
miles=1.60934;
cout

19/09/2015

IF ELSE PROGRAMME




void main(){

int english,urdu,drawing, totalmarks=300;
float obt_marks,per;


cout

Want your school to be the top-listed School/college in Peshawar?

Click here to claim your Sponsored Listing.

Location

Category

Telephone

Website

Address


Ring Road Peshawar
Peshawar
25000