Ad Code

Responsive Advertisement

12992 - Huatuo's Medicine

Author: Ismail Hosen

Daffodil International University





Problem Link

//Please follow from main function

#include<stdio.h>

int main()

{

    int n, t, i;

    scanf("%d", &t);

    for(i=1; i<=t; i++){

        scanf("%d", &n);

        printf("Case #%d: %d\n",i, n+(n-1));

    }

    return 0;

}




Post a Comment

0 Comments