Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream.h>
- #include <stdio.h>
- #include <conio.h>
- int main()
- {
- int n;
- printf("Masukkan Nilai: ");
- scanf("%d", &n);
- if(n>50)
- {
- if(n>75)
- {
- n=n-25;
- }
- n=n+0;
- }
- else
- {
- n=n+0;
- }
- printf("Nilai Baru: %d", n);
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement