#include <stdio.h>
int main() {
int n;
printf("Enter a number:");
scanf("%d",&n);
if(n>0)
{
printf("Square=%d, Cube=%d",n*n,n*n*n);
}
else
{
printf("Enter a positive number");
}
}
Can’t Read Books? Try This 5-Minute Habit Instead (It Actually Works) Hi, namaste Krishna. So, um today I'll be sharing a very good ha...
No comments:
Post a Comment