Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

c++ converter to python

#include <iostream>
using namespace std;
int main()
{
    int puppies, kitties;
    cout<<"Enter the number of puppies: ";
    cin>>puppies;
    cout<<"Enter the number of kitties: ";
    cin>>kitties;
    if(puppies <= 1)
        cout<<"You have adopted "<<puppies<<" puppy ";
    else
        cout<<"You have adopted "<<puppies<<" puppies ";
    if(kitties <= 1)
        cout<<"and "<<kitties<<" kitty";
    else
        cout<<"and "<<kitties<<" kitties";
    return 0;
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: undo pwa 
Javascript :: linq multiply 2 column expression 
Javascript :: access object data 
Javascript :: how to connect terminal with javascript 
Javascript :: uniqSort 
Javascript :: javascript onclick parameters 
Javascript :: add validation in strapi 
Javascript :: javascript check if valid url 
Javascript :: go-gitea/gitea 
Javascript :: javascript get script path name 
Javascript :: jquery database add dropdown in datababe grid 
Javascript :: Answer the following questions by identifying what unit of measurement to be used. 2pts. Brainly 
Javascript :: How to use vue.js in expressjs with pug 
Javascript :: index javascript array 
Javascript :: animejs code sample for keyframe property 
Javascript :: firebase messaging service not working with electron 
Javascript :: different way to for loop js 
Javascript :: Node-Red: Bit Switch 
Javascript :: javascript variable without value 
Javascript :: &lt;Link&gt; react import 
Javascript :: provider._web3Provide.sendAsync as any 
Javascript :: javascript ignore a function if viewed in mobile 
Javascript :: how to make work copy paste on otp input field javascript 
Javascript :: react-pdf responsive 
Javascript :: _this2.setstate is not a function 
Javascript :: typeorm not supporrtted insert large data 
Javascript :: delete a row in an array react hooks 
Javascript :: SuiteScript https.post a pdf file 
Javascript :: Register post meta of sidebar in wordpress 
Javascript :: json_populate_recordset 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =