write a code that prints your full name and your birthday as separate strings.
need answer asap.
Attachments:

sswaraj04:
mention the programming language!
Answers
Answered by
71
Answer:
#with manual input
x = input('Enter your name')
y=input('Enter your birthday')
print(x,"is born on",y)
#directly one liner :all three are seperate strings
print("xyz","is born on,"dd-mm-yyyy")
Explanation:
Answered by
4
Using C++
#include<iostream>
#include<string.h>// string class is declared here
using namespace std;
int main()
{
String name , birthday; // the two strings are declared here
cout<<"Please Enter the details " <<endl;
cout<<"Enter your name "<<endl;
cin>>name; // to input name from the user
cout<<"Enter your birthday" <<endl;
cin>>birthday;// to input birthday from the user.
}
Similar questions