99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務合肥法律

 代寫COMP 218、代做C++設(shè)計編程
 代寫COMP 218、代做C++設(shè)計編程

時間:2024-09-30  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯



© May not be copied or duplicated 
without the permission of the owner. 
COMP 218 Fundamentals of Object-Oriented 
Programming 
Assignment 1 
 
Please note: you are NOT allowed to post the assignment/solution anywhere on the 
Internet. Intellectual Property rights are reserved. If any similar cases are found via your 
account or IP, your submission will NOT be considered and will be reported 
immediately. 
 
General Guidelines when Writing Programs: 
- Include the following comments at the top of your source codes 
// ----------------------------------------------------- 
// Assignment (include number) 
 // Question: (include number) 
 // File name: (include source code file name) 
 // Written by: (include your name and student id) 
 // ----------------------------------------------------- 
- In a comment, give a general explanation of what your program does. As the 
programing questions get more complex, the explanations will get lengthier. 
- Include comments in your program describing the main steps in your program. 
- Print a welcome message which includes your name. 
- Display clear prompts for users when you are expecting the user to enter data 
from the keyboard. 
- All output should be printed out with clear messages and in an easy to read 
format. 
- End your program with a closing message so that the user knows that the 
program has terminated. 
 
© May not be copied or duplicated 
without the permission of the owner. 
Question #1: Display a message (3 pts) 
Write a complete C++ program that displays the following output exactly as in the 
sample output. You are to use a single cout statement to output the message. There is 
no need to declare any variables for this question. 
 
Figure 1 – Sample output for Question 1 
  
© May not be copied or duplicated 
without the permission of the owner. 
Question #2: Number Generator Program (6 pts) 
In C++, we can use rand() function (More details) to generate random numbers. In the 
number calculation following the requirements: 
1. Display a welcome message. 
2. Display the randomly generated even/odd number. 
 
Figure 2 – Sample output #1 for Question 2
For example, if the number is 1234, change it to 4**1.
For example, 1221 is a palindrome as it is the same if reversed.
For example, the largest digit is 9 and smallest is 1, in 3179.
Your program must display the same information and formatted the same.
3. Reverse the number.
4. Check if the number is a palindrome.
5. Find the smallest and largest digit in the number
question, we will generate a 4-digit random number between 1000 – 9999 and complete
Use at least one constant variable to store value in the program.
Following are 2 sample screen shots to illustrate the expected behavior of your
program.
Note: 

 
© May not be copied or duplicated 
without the permission of the owner. 
 
Figure 3 – Sample output #2 for Question 2 
 
Question #3: New Word Program (6 pts) 
 
 
Your program should behave as follow: 
1. Display a welcome message. 
2. Ask the user to prompt 3 words with at least 1 letter. 
3. Ask the user to prompt 3 numbers, that should be less than the length of each 
word to indicate length of substring in each word. For example, if the word is 
Ann, then the entered number should be less than 3 (the length of Ann). 
 
5. Display the resulting new word. 
6. Display a farewell message, so that the user knows that the program has 
terminated normally. 
Restriction: This questions requires the use of the functions: length(), substr(). 
Assumption: Assume a perfect user who will always enter the correct input values. 
 
Following are two sample screen shots to illustrate the expected behavior of your 
program. Your program is to work with any words entered by the user. 
 
last n characters. Concatenate the three resulting substrings into a single
new word.
4. For each word, create a new substring by taking the first n characters and the
Write a program that prompts the user for three words. 

 
© May not be copied or duplicated 
without the permission of the owner. 
 
 
Figure 4 – Sample output #1 for Question 3 
 
Figure 5 – Sample output #2 for Question 3 
 
  

 
© May not be copied or duplicated 
without the permission of the owner. 
Submitting Assignment 1 
- Naming convention for zip file to submit: Create one zip file, containing all source 
files (.cpp files only) for your assignment. The zip file should be called 
a#_studentID, where # is the number of the assignment and studentID is your 
student ID number. For example, for the first assignment, student 123456 would 
submit a zip file named a1_123456.zip. (See instructions on how to zip files 
which are posted in the Assessment section of the eConcordia course webpage.) 
- Submit only ONE version of an assignment. 
- Late assignments will be discounted by 25%. Late assignments are accepted up 
to five days late (grace period) and weekends count. 
 
Evaluation Criteria for Assignment 1 (20 pts) 
 Question #1 
3 pts. 
Question #2 
6 pts. 
Question #3 
6 pts. 
Format/clarity/completeness/accuracy 
of output 
1 pt. 4 pts. 2 pts. 
Proper use of required C++ concepts 2 pts. 2 pts. 4 pts. 
 
 
For all 3 questions of assignment 1 – 5 pts. 
Comments – description of variables / description of the steps in code 
/ purpose of program 
2 pts. 
Choice of variable names 1 pt. 
Indentation and readability of program 2 pts. 



 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




 

掃一掃在手機打開當前頁
  • 上一篇:ACST2001代寫、代做Python/c++設(shè)計編程
  • 下一篇:代寫 cs341 Shell To-Dos 安全程序
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設(shè)計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務+熱設(shè)計優(yōu)化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機亮相AWE 復古美學與現(xiàn)代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務 | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          亚洲美女黄色| 亚洲欧洲一区二区三区久久| 国产欧美一区二区精品性色| 国产精品网站视频| 激情欧美一区二区三区| 亚洲第一精品在线| 一本久久a久久精品亚洲| 一个人看的www久久| 亚洲欧美精品在线| 久久青青草综合| 久久久久久穴| 欧美日韩hd| 国产精品久久久久久模特| 国产精品白丝黑袜喷水久久久| 欧美屁股在线| 国产日韩欧美| 亚洲毛片视频| 免费高清在线视频一区·| 激情综合电影网| 欧美视频在线免费看| 亚洲视频播放| 久久视频一区二区| 国产精品成人一区二区艾草| 国内一区二区在线视频观看| 夜夜嗨一区二区| 另类专区欧美制服同性| 国产精品国产自产拍高清av王其| 伊人男人综合视频网| 亚洲综合视频在线| 欧美日韩国产成人| 91久久精品日日躁夜夜躁国产| 午夜日韩电影| 欧美日韩色一区| 亚洲区国产区| 欧美大胆人体视频| 亚洲第一精品久久忘忧草社区| 午夜激情综合网| 欧美三区在线视频| 激情婷婷久久| 性欧美暴力猛交另类hd| 欧美日韩一区不卡| 91久久精品国产| 开心色5月久久精品| 国产日韩一区在线| 午夜精品久久久久影视 | 亚洲影音一区| 欧美日韩国产高清| 日韩亚洲在线观看| 欧美激情区在线播放| 在线看一区二区| 久久综合色播五月| 1000部国产精品成人观看| 久久久91精品国产| 精品盗摄一区二区三区| 久久夜色精品亚洲噜噜国产mv | 亚洲已满18点击进入久久| 欧美日韩精品一区二区三区| 亚洲青色在线| 欧美日韩国产成人| 亚洲一本大道在线| 久久久久高清| 91久久国产精品91久久性色| 欧美日韩在线观看视频| 久久琪琪电影院| 午夜在线不卡| 午夜精品理论片| 日韩视频在线观看| 影音先锋久久久| 国内精品久久久久影院优| 欧美91大片| 欧美久久一区| 欧美mv日韩mv国产网站app| 久久久久久久久久久久久女国产乱 | 久久夜色精品亚洲噜噜国产mv| 午夜精品福利一区二区蜜股av| 亚洲欧美综合国产精品一区| 1024日韩| 国产精品男女猛烈高潮激情| 国产亚洲精品一区二555| 久久久久久网址| 欧美精品一区二区三区很污很色的| 激情六月综合| 欧美日韩精品欧美日韩精品| 先锋资源久久| 亚洲日韩成人| 国产精品嫩草99a| 欧美aⅴ99久久黑人专区| 亚洲一区二区毛片| 亚洲激情成人| 国产精品主播| 亚洲一区视频在线观看视频| 乱人伦精品视频在线观看| 欧美激情bt| 欧美精品日韩www.p站| 欧美色欧美亚洲高清在线视频| 国产精品一区在线播放| 国产手机视频一区二区| 国产欧美日韩一区二区三区| 亚洲国产精品电影| 欧美一区二区三区的| 麻豆九一精品爱看视频在线观看免费 | 欧美另类女人| 国产精品推荐精品| 久久综合九色综合欧美就去吻| 一本久久综合| 亚洲大胆av| 国产一区二区三区四区hd| 国产精品盗摄久久久| 免费不卡在线观看| 久久久久久久999精品视频| 亚洲视频福利| 99天天综合性| 亚洲精品视频在线播放| 今天的高清视频免费播放成人| 国产精品久久久久久久久久妞妞| 欧美日韩成人激情| 欧美成人性生活| 美女久久网站| 蜜桃av一区二区在线观看| 久久精品国产免费看久久精品| 亚洲欧美精品伊人久久| 亚洲一级一区| 亚洲一区二区三区欧美| 一区二区日韩伦理片| 日韩视频国产视频| 亚洲久色影视| 亚洲乱码精品一二三四区日韩在线| 在线播放亚洲一区| 在线欧美日韩| 91久久精品日日躁夜夜躁欧美| 亚洲福利在线观看| 91久久久在线| 一区二区三区精品久久久| 鲁大师成人一区二区三区| 黄色亚洲免费| 亚洲国产片色| 亚洲美女精品成人在线视频| 亚洲精品在线二区| 一本色道久久综合亚洲精品高清| 亚洲美女区一区| 一区二区免费在线观看| 亚洲影院在线| 欧美专区在线观看| 老司机午夜免费精品视频 | 国产精品裸体一区二区三区| 欧美日本国产一区| 国产精品久久激情| 国产婷婷色综合av蜜臀av| 影音先锋久久久| 亚洲精品视频在线观看网站| 一区二区欧美国产| 欧美一区在线直播| 麻豆精品视频在线观看视频| 欧美日本精品一区二区三区| 久久久久综合一区二区三区| 一个色综合导航| 亚洲第一在线视频| 伊人久久亚洲影院| 伊甸园精品99久久久久久| 国产精品久久久久久久久久尿| 久久天天综合| 欧美专区18| 久久婷婷综合激情| 久久久久久综合| 久久亚洲综合网| 欧美区在线观看| 欧美视频中文一区二区三区在线观看| 久久综合色综合88| 欧美高清自拍一区| 久热精品视频在线观看一区| 久久午夜羞羞影院免费观看| 久久久999精品| 国产精品视频网| 在线观看欧美精品| 欧美一区精品| 欧美视频手机在线| 亚洲视频播放| 国产欧美日韩精品a在线观看| 欧美.日韩.国产.一区.二区| 久久人人九九| 国产精一区二区三区| 欧美大片一区二区三区| 亚洲一区在线播放| 18成人免费观看视频| 国内外成人在线视频| 一区二区三区国产精品| 蜜臀av国产精品久久久久| 国产欧美日韩综合| 亚洲图片激情小说| 欧美激情第3页| 在线播放亚洲| 久久久最新网址| 国内久久婷婷综合| 欧美一级片在线播放| 国产精品久久久久7777婷婷| 日韩视频在线永久播放| 免费观看日韩| 正在播放亚洲一区| 国产精品videosex极品| 亚洲精品久久久久久下一站|