国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

 代寫COMP 218、代做C++設計編程
 代寫COMP 218、代做C++設計編程

時間:2024-09-30  來源:合肥網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++設計編程
  • 下一篇:代寫 cs341 Shell To-Dos 安全程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    蜜臀久久99精品久久久酒店新书| 亚洲第一综合| 久久的精品视频| 懂色av一区二区三区在线播放| 国产真实乱子伦| 久久精品视频va| 三级三级久久三级久久18| av不卡在线免费观看| 精品国产aⅴ麻豆| 精品一区久久久久久| 久久手机精品视频| 欧美精品第三页| 日韩中文字幕网站| 日韩人妻无码精品久久久不卡| 国产精品 欧美在线| 亚洲欧美久久久久一区二区三区| 国产裸体写真av一区二区| 欧美巨大黑人极品精男| 国产人妖伪娘一区91| 欧美精品做受xxx性少妇| 国产视频999| 国产精品第三页| 精品一卡二卡三卡四卡日本乱码| 国产精品欧美久久久| 国内少妇毛片视频| 久久成人免费视频| 国产精品一区二区三区四区五区| 中国人体摄影一区二区三区| 99国产精品久久久久老师| 午夜欧美大片免费观看| 久久人人爽国产| 人妻无码一区二区三区四区| 日韩一区二区福利| 欧美日韩国产不卡在线看| 国产精品入口福利| 国模吧一区二区三区| 欧美xxxx14xxxxx性爽| 国产精品亚洲天堂| 自拍另类欧美| 91久久精品一区二区别| 色婷婷综合久久久久中文字幕| 国产成人精品日本亚洲11| 青青影院一区二区三区四区| 国产精品老女人精品视频| 国产裸体写真av一区二区| 日韩一区不卡| 一区二区三区国产福利| 国产精品一区二区欧美黑人喷潮水| 中文字幕av日韩精品| 久久无码高潮喷水| 热久久视久久精品18亚洲精品| 日韩在线视频导航| 欧美一区在线直播| 精品视频9999| 91精品视频大全| 日韩美女在线观看一区| 久久成人国产精品| 91精品啪在线观看麻豆免费| 日本一区网站| 国产精品精品软件视频| 91久久久久久久一区二区| 日本一级淫片演员| 久久精品在线视频| 国产欧美一区二区白浆黑人 | 久久精品国产综合精品| 欧美日韩电影一区二区三区| 欧美激情一级二级| 久久精品国产欧美亚洲人人爽| 国产精品亚洲第一区| 欧美视频第一区| 一区国产精品| 久久精品免费电影| 97国产精品人人爽人人做| 欧美日韩精品免费观看视一区二区 | 国产一区二区三区乱码| 亚洲精品日韩av| 国产精品日日摸夜夜添夜夜av| 成人免费网站在线| 欧美做受高潮1| 午夜欧美大片免费观看| 久久成人国产精品| 日韩在线中文字幕| 91精品国产综合久久香蕉最新版| 国产成人精品电影久久久| 国产日韩欧美成人| 日韩久久久久久久久久久久| 精品自在线视频| 久久久成人精品| 91久久精品国产91久久| 欧美极品色图| 日韩中文字幕在线视频观看| 在线观看免费黄色片| 国产精品激情av在线播放| 日韩专区在线播放| 国产不卡av在线免费观看| 91麻豆精品秘密入口| 国产日韩在线精品av| 欧美精品一区免费| 日韩av在线第一页| 午夜精品一区二区三区在线播放| 美女久久久久久久久久久| 国产精品久久久精品| 俺去啦;欧美日韩| 国产成人在线播放| 99爱精品视频| 国产乱肥老妇国产一区二| 蜜桃久久影院| 国内成人精品一区| 黄色片一级视频| 欧美精品一区二区三区四区五区 | 午夜精品视频网站| 色伦专区97中文字幕| 99在线观看视频免费| 国产色综合天天综合网| 国产中文字幕亚洲| 黄色一级片在线看| 免费在线一区二区| 欧美国产二区| 女女同性女同一区二区三区91 | 一本二本三本亚洲码| 在线观看福利一区| 亚洲五月六月| 亚洲免费视频播放| 亚洲电影一二三区| 亚洲人一区二区| 亚洲欧美日韩不卡一区二区三区 | 国产精品视频1区| 国产精品美女在线播放| 国产精品麻豆免费版| 国产精品久久久久久av福利 | av动漫在线观看| 国产乱子伦精品无码专区| 国产资源在线视频| 免费观看精品视频| 国产免费一区二区三区香蕉精| 国产欧美日韩丝袜精品一区| 成人欧美一区二区三区黑人免费| 成人h视频在线| 91精品一区二区三区四区| 久久精品一区二区三区不卡免费视频| 久久久精品动漫| 久久99久久99精品蜜柚传媒| 少妇精69xxtheporn| 国产精品视频在线观看| 国产精品福利在线| 亚洲五码在线观看视频| 欧美一级黄色影院| 欧美在线影院在线视频| 欧美精品自拍视频| 国产美女网站在线观看| 2019日韩中文字幕mv| 久久激情视频免费观看| 久久99久久亚洲国产| 亚洲 欧美 综合 另类 中字| 青青在线免费观看| 国产乱码精品一区二区三区不卡| 久久综合一区| 国产精品久久久久久久9999 | 国内精品久久久久久影视8| 国产精选久久久久久| 国产成人精品免高潮费视频| 国产成人精品自拍| 一区二区三区我不卡| 少妇大叫太大太粗太爽了a片小说| 欧美在线观看网址综合| 国产免费毛卡片| 国产福利不卡| 国产精品二区二区三区| 亚洲精品欧美极品| 免费看日b视频| 久久久精彩视频| 不卡av在线播放| 日本一区精品| 国产特级黄色大片| 久久久成人精品一区二区三区| 国产精品老女人精品视频| 亚洲 中文字幕 日韩 无码| 日韩精品一区二区三区丰满| 国产日韩欧美自拍| 久久久久久噜噜噜久久久精品| 国产精品国产亚洲伊人久久| 懂色av一区二区三区在线播放| 欧美大陆一区二区| 7777在线视频| 国产精品成人av在线| 日韩av电影免费在线| 国产免费xxx| 国产精品美女999| 日韩av在线播放不卡| 国产精品一区二区免费看| 国产成人免费91av在线| 午夜啪啪福利视频| 国模精品娜娜一二三区| 久久久久久久久久网| 亚洲高清123| 国产一区二区三区在线免费| 日韩在线视频国产| 亚洲啊啊啊啊啊| 国产欧美在线播放| 国产精品久久中文字幕|