Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~708 People Reached
Favorite Tags
Member Avatar for Junior999

i'm making table reservations scheduling table with PHP and Mysql. i'm stuck on one thing, dont know how to check every cell i must print,which will indicate a reservation, with every column,which will indicate hours. Can anyone give me an idea ? i will get my reservation info from database …

Member Avatar for Masterblank
0
428
Member Avatar for Junior999

#include <stdio.h> #include <stdlib.h> int main() { begin(); } int begin() { long int b,res1,res2,res3; int a,c,d,e,f,i; printf("Enter first number: "); scanf("%d",&a); printf("Enter second number: "); scanf("%ld",&b); c=b%10; d=b%100-c; e=b/100; res1=a*c; res2=a*d; res3=a*e; f=a*b; printf("\n\n\n"); printf(" %d\n",a); printf("x\n"); printf(" %d\n",b); printf("________\n"); printf(" %ld\n",res1); printf("+ %ld\n",res2); printf(" %ld\n",res3); printf("_______\n"); printf("%d\n",f); system("PAUSE"); …

Member Avatar for deceptikon
0
103
Member Avatar for Junior999

#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { FILE *file; char ch, str[500], a=0; char name[20], word[50], temp[50]; int i,lenght=0, b=0; if((file=fopen("sample.txt" , "r"))==NULL) { printf("Error while opening file\n"); system("pause"); exit(1); } while (!feof(file)) { fgets(str, 499, file); printf("%s\n",str); ch=fgetc(file); if(ch!=' ') { a++; word[b]=ch; if(a > lenght) lenght=a;f …

Member Avatar for Ancient Dragon
0
177