hello friend z!!
give me some idea about :
write a program that takes two characters and two integers by using two command program

Recommended Answers

All 3 Replies

WTF??? I have no idea what that question is asking ????? Are you sure you quoted the problem correctly and accurately?

hello friend z!!
give me some idea about :
write a program that takes two characters and two integers by using two command program

If I understand what it is you are asking. You want to write a program that will accept 2 characters and than 2 intergers using 2 seperate command prompts.

A design like?:

print "Enter strings:\n"
readstream "%s, %s", str1, str2
print "Enter integers:\n"
readstream "%d, %d", &int1, &int2
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.