Entries by admin

A program to encode and decode text using simple characte…

In this lab, you will write a program to encode and decode text using simple character substitutions. The only characters permitted in a message will be upper and lower case letters, spaces, commas, periods, semicolons, and colons. Encoded messages will use the characters ‘1’, ‘2’, ‘3’, ‘4’, and ‘5’ together with the upper and lower […]

A program to merge two integer arrays into a third array …

A program to merge two integer arrays into a third array with alternate elements from the first and second array respectively. Your program should do the following: a. Input size of 2 arrays b. Input the array elements c. Write a loop structure to copy elements into a third array in an alternate fashion d. […]

a program with a loop that lets the user enter a series o…

Write a program with a loop that lets the user enter a series of integers. The user should enter -99 to signal the end of the series. After all the number have been entered, the program should display the largest and smallest number entered. The input should be acquired using a text file named Number.txt. […]

a project from my computer science class. I am trying to …

a project from my computer science class. I am trying to make a game of minesweeper. I have written quite an extensive outline of all of the functions that I want to put together and how they should work. I have also input several functions in C code that I’m pretty sure work as I […]