#include <stdio.h> #include <conio.h> int main () /* ÷ìè:îñôø ãå ñôøúé */ /* ôìè:äîñôø äãå ñôøúé ùðé÷ìè áñãø äôåê */ { float ratedollar; float rateeuro; float shekel; float dollar; printf("please insert rate selling of the euro"); scanf("%f", &rateeuro); printf("please insert rate buying of the dollar"); scanf("%f", &ratedollar); shekel = 150 * rateeuro; dollar = shekel * ratedollar; printf("the dollars that accept Dror after the conversion in the bank is:%f",dollar); getch(); return 0; }
|