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

Are We Putting Effort in the Right Direction? ❤️ | A Life Lesson About Effort & Strategy ✨

  https://youtube.com/shorts/MMo2JOc3mzc Hey. So, uh recently I was in a discussion with my brother, elder brother, let's say. And we we...