Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- doublethe(int n1)
- {
- n1 *= 2;
- printf("the double of your number is : %i",n1) ;
- }
- main()
- {
- int num1;
- printf("enter the number here : ");
- scanf("%i",&num1);
- doublethe(num1);
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement