Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- float num,altnum;
- printf("Entre com dois numeros :\n"); scanf("%f %f",&num,&altnum);
- if (num == altnum)
- {
- printf("Os dois numeros sao identicos!\n");
- return 0;
- }
- else
- {
- printf("Os numeros sao diferentes!\n");
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment