Purchase Solution

Writing Strings and Integers in C Programs

Not what you're looking for?

Ask Custom Question

I am trying to write a C program that accepts a string and two integer numbers from a user. Each of these inputs should be preceded by a prompt and stored using individual variable names.

Then I am trying to have the program call a function that assembles the input data into a single string, then display the assembled string using the puts() call command. Please help me with these tasks.

Purchase this Solution

Solution Summary

The solution provides a method to computing a C program that accepts a string and two integer numbers from a user and assembles the input data into a single string.

Solution Preview

Hi,

You may do something like this...

----------------

//use angular brackets instead of " " for stdio.h.
#include ...

Purchase this Solution


Free BrainMass Quizzes
Javscript Basics

Quiz on basics of javascript programming language.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic Networking Questions

This quiz consists of some basic networking questions.