Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Lab 3.1 DSR.cpp : Defines the entry point for the console application.
- //
- #include "stdafx.h"
- #include <iostream>
- using namespace std;
- int main()
- {
- int edad;
- cout << "Por favor ingrese su edad." << endl;
- cin >> edad;
- if (edad >= 65)
- cout << "Edad es mayor o igual que 65" << endl;
- else
- cout << "Edad es menor que 65" << endl;
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment