Waiting or Not Waiting

#include <iostream>
using namespace std;
int main() {
  int a;
  cin>>a;
  if(a>0)
    cout<<"I am waiting";
  else
    if(a<0)
    cout<<"I am not waiting";
 else
    cout<<"Sorry";

return 0;
}

1 comment:

  1. Dhoni's daughter Ziva is hyper active child,so she used to ask lot of question to Dhoni while playing with him.

    One fine evening Dhoni and Ziva were palying in Chepak Stadium in Chennai,at that time ziva looking at the Moon in sky asked Dhoni what is the gravity in moon? Dhoni said it's 16.6 percentage that of earth.

    Ziva didn't got satisfied with that then she asked what will be my weight in moon?

    Dhoni was little bit confused to answer ziva !!!!!

    Can you help Dhoni to answer the question by creating a logic which calculates the weight of the person in moon so that Ziva will be happy knowing her weight.

    ReplyDelete