About Me

About Me : I have been working as a Software Engineer for various international companies for four years.Currently, I am working as a full stack Javascript developer in Petronas(Malaysia).

Skills

Skills • Javascript •Typescript •Python •C •Java •ReactJs • Redux • VueJs • NestJs • React Testing Library • Django• PostgreSQL • MySQL • NodeJs • Git • Docker • Jira • Visual Studio Code • Slack

শুক্রবার, ২৩ মে, ২০১৪

UVA: 12577 - Hajj-e-Akbar

#include <iostream>
#include <cstdio>
#include <string.h>

using namespace std;

int main()
{
    char ch1[]="Hajj",ch2[]="Umrah",ch3[]="*",cha[10000];
    int count=1;
    while(scanf("%s",cha)==1){
        if(strcmp(cha,ch3)==0){
            break;
        }
        else if(strcmp(cha,ch1)==0){
            printf("Case %d: Hajj-e-Akbar\n",count);
            count++;
        }
        else if(strcmp(cha,ch2)==0){
            printf("Case %d: Hajj-e-Asghar\n",count);
            count++;

    }
    }
    return 0;
}

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন