main()
{
int h,m,s,t;
printf("enter time to be convertd");
printf("\n hour,minute,second:");
scanf("%d%d",&h,&m);
printf("%d",&s);
t=(60*h+m)*60+s;
printf("\ntime is:%d second.",t);
getch();
}
main()
{
int h,m,s,t;
printf("enter time to be convertd");
printf("\n hour,minute,second:");
scanf("%d%d",&h,&m);
printf("%d",&s);
t=(60*h+m)*60+s;
printf("\ntime is:%d second.",t);
getch();
}
#include <stdio.h>
#include <conio.h>
void main()
{
int h,m,s,t;
printf("enter time to be convertd");
printf("\n hour,minute,second:");
scanf("%d%d",&h,&m);
printf("%d",&s);
t=(60*h+m)*60+s;
printf("\ntime is:%d second.",t);
getch();
}
هم اکنون 1 کاربر در حال مشاهده این تاپیک میباشد. (0 کاربر عضو شده و 1 مهمان)