Saturday, October 17, 2020

c program to double the number

#include <stdio.h>


int main()

{

    int n;

    printf("Enter n:");

    scanf("%d",&n);

    n = n * 2;

    printf("Answer = %d", n);


    return 0;

}

No comments:

Post a Comment

How to Fight Overthinking or Negative Thoughts?

How to Combat Overthinking or Negative Thoughts? 1. Don’t Fight Your Thoughts Trying to suppress or control negative thoughts often backfire...