Advertisement
rotti321

Horge Geta

Dec 3rd, 2021
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <bits/stdc++.h>
  3. using namespace std;
  4.  
  5. int main() {
  6. int glicemie;
  7. cin>>glicemie;
  8. if(glicemie>=60 && glicemie <=99){
  9. cout<<"Glicemie normala"<<endl;
  10. }
  11. if(glicemie>=100 && glicemie <=125){
  12. cout<<"Glicemie bazala modificata"<<endl;
  13. }
  14. if(glicemie>=126){
  15. cout<<"Diabet zaharat"<<endl;
  16. }
  17. return 0;
  18. }
  19. /*
  20. Normal: 60 – 99 mg/dl
  21. Glicemie bazala modificata: 100 – 125 mg/dl
  22. Diabet zaharat: peste 126 mg/dl
  23. */
Advertisement
RAW Paste Data Copied
Advertisement