Page 1 of 1

Can someone turn this into C++ please

Posted: Sun May 15, 2022 12:13 pm
by answerhappygod
Can someone turn this into C++ please
Can Someone Turn This Into C Please 1
Can Someone Turn This Into C Please 1 (88.61 KiB) Viewed 63 times
E* Untitled-1.cpp X & Untitled-1.cpp >maino 1 #include <stdio.h> 2 int main() 3 { 4 int SBP; 5 int DBP; 6 int PP; 7 float MAP; 8 9 printf("Enter SBP: "); 10 scanf("%d", &SBP); 11 printf("Enter DBP: "); 12 scanf("%d", &DBP); 13 14 15 16 17 PP = SBP - DBP; 18 19 printf("Pulse Pressure: %d\n", PP); MAP = (2*(float) (DBP + SBP))/3; 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 printf("MAP: %.2f\n", MAP); if(SBP<120 && DBP<80) printf("NORMAL");