Can someone turn this into C++ please
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");
Can someone turn this into C++ please
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Can someone turn this into C++ please
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!