#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");
}
}
How to Combat Overthinking or Negative Thoughts? 1. Don’t Fight Your Thoughts Trying to suppress or control negative thoughts often backfire...
No comments:
Post a Comment