clock in C++
1.Code for Clock in C++ by ARS
#include
#include
#include
using namespace std;
int main()
{
int h,m,s,i,j,k;
char c[5],d[10],n[17];
while(1)
{
for(k=0;k<4;k++)
{
switch(k)
{
case 0:
strcpy(n,"baisakha");
break;
}
for(j=0;j<7;j++)
{
switch(j)
{
case 0:
strcpy(d,"sunday");
break;
case 1:
strcpy(d,"monday");
break;
case 2:
strcpy(d,"tuesday");
break;
case 3:
strcpy(d,"wednesday");
break;
case 4:
strcpy(d,"thursday");
break;
case 5:
strc[...]
Read More..