Reginaldojs

exercicio 5,lista2

May 15th, 2012
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. #include<stdio.h>
  2. int main(){
  3.         float n1,n2;
  4.         printf("digite dois numeros:");
  5.         scanf("%f %f",&n1,&n2);
  6.         if(n1==n2)
  7.           printf("iguais");
  8.         else
  9.           printf("diferentes");
  10.         return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment