Advertisement
Filip13

agregatno stanje

Oct 10th, 2022
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int temp;
  7. cin >> temp;
  8.  
  9. if (temp > 0 && temp < 100)
  10. {
  11. cout << "tecno";
  12. }
  13.  
  14. if (temp <= 0)
  15. {
  16. cout << "cvrsto";
  17. }
  18.  
  19. if (temp >= 100)
  20. {
  21. cout << "gasovito";
  22. }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement