Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <bits/stdc++.h>
- using namespace std;
- int main() {
- int glicemie;
- cout<<"Indice glicemie:";
- cin>>glicemie;
- if(glicemie>=60 && glicemie <=99){
- cout<<"Glicemie normala"<<endl;
- }
- if(glicemie>=100 && glicemie <=125){
- cout<<"Glicemie bazala modificata"<<endl;
- }
- if(glicemie>=126){
- cout<<"Diabet zaharat"<<endl;
- }
- return 0;
- }
- /*
- Normal: 60 – 99 mg/dl
- Glicemie bazala modificata: 100 – 125 mg/dl
- Diabet zaharat: peste 126 mg/dl
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement