View Code of Problem 69

#include<stdio.h>
#include <string.h>
void main()
{
int x,y;
scanf("%d",&x);
if(x<1)
printf("%d",x);
if(x<=1&&x<10)
printf("%d",x*2-11);
if(x>=10)
printf("%d",x*3-11);
}

Double click to view unformatted code.


Back to problem 69