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

All Quotes

 Quote 53: Ethical earning is key. Quote 52: Grades matter, but your skills, curiosity, and consistency matter even more. Quote 51: Be curio...