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爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          国产精品久久国产愉拍| 国产自产2019最新不卡| 夜夜嗨av一区二区三区网站四季av | 国产精品magnet| 99精品国产福利在线观看免费| 欧美黑人在线播放| 亚洲免费电影在线| 欧美精品免费在线观看| 亚洲精品一区二| 欧美精品激情在线| 99riav久久精品riav| 欧美日韩另类在线| 一本色道久久88综合亚洲精品ⅰ| 欧美乱大交xxxxx| 日韩亚洲欧美高清| 欧美三级中文字幕在线观看| 国产精品99久久久久久白浆小说| 欧美日韩一区二区视频在线观看| 在线视频亚洲一区| 国产精品久久夜| 午夜精品久久久久久久久久久| 国产欧美日本| 久久久午夜精品| 亚洲全部视频| 欧美视频免费在线观看| 午夜精品久久久久久| 国内精品**久久毛片app| 久久免费国产精品| 亚洲日本黄色| 国产精品护士白丝一区av| 亚洲欧美日韩在线| 国内精品久久久久影院 日本资源| 久久久亚洲国产天美传媒修理工 | 亚洲国产裸拍裸体视频在线观看乱了| 美腿丝袜亚洲色图| 99视频在线观看一区三区| 欧美午夜宅男影院| 欧美亚洲综合在线| 亚洲国产国产亚洲一二三| 欧美欧美午夜aⅴ在线观看| 亚洲香蕉网站| 黑人巨大精品欧美一区二区小视频| 免费高清在线一区| 在线午夜精品| 国产一区二区精品丝袜| 欧美xxx成人| 亚洲一区影院| 激情五月***国产精品| 欧美精品日韩一区| 性欧美xxxx视频在线观看| 亚洲电影av在线| 欧美日韩免费一区二区三区视频| 午夜在线一区| 91久久亚洲| 国产精品美女www爽爽爽视频| 久久国产精品第一页| 亚洲精品一区二区在线观看| 国产精品另类一区| 免费h精品视频在线播放| 亚洲少妇一区| 激情亚洲网站| 国产精品久线观看视频| 美国三级日本三级久久99| 亚洲特色特黄| 亚洲第一页自拍| 国产精品日本一区二区 | 欧美福利视频网站| 欧美在线高清| 一本久道久久久| 影音先锋久久久| 国产精品二区三区四区| 欧美成年人在线观看| 性色av一区二区怡红| 亚洲欧洲综合另类| 国产一区二区三区高清播放| 欧美日韩在线视频一区二区| 久久综合中文色婷婷| 亚洲欧美日本另类| 亚洲精选久久| 在线观看欧美精品| 国产精品一区二区男女羞羞无遮挡| 欧美成人日韩| 久久免费视频在线| 午夜精品久久久久久久99水蜜桃| 亚洲美女av黄| 亚洲福利久久| 国内精品久久久久影院薰衣草| 欧美性事在线| 欧美激情精品久久久久| 久久久久久久久久久久久女国产乱 | 欧美国产日韩视频| 久久久久久久久岛国免费| 亚洲免费视频成人| av不卡在线| 亚洲欧洲日产国产综合网| 黄色亚洲在线| 国产亚洲欧美色| 国产精品视频久久一区| 欧美精品综合| 欧美黄色精品| 男女精品网站| 美女网站在线免费欧美精品| 欧美自拍偷拍午夜视频| 亚洲欧美日韩国产一区二区| 一区二区三区国产在线| 亚洲精品久久久久久下一站 | 欧美在线关看| 午夜精品福利视频| 亚洲永久免费| 亚洲香蕉成视频在线观看 | 亚洲欧美日产图| 亚洲一级二级| 亚洲一区不卡| 亚洲一区在线免费观看| 国产精品99久久不卡二区| 一二美女精品欧洲| 99热精品在线观看| 亚洲最新视频在线播放| 亚洲免费观看高清在线观看| 最新热久久免费视频| 亚洲国产日韩在线一区模特| 亚洲国产精品毛片| 91久久黄色| 亚洲精品综合久久中文字幕| 亚洲乱码一区二区| 99re热这里只有精品视频| 在线视频欧美一区| 亚洲一区二区三区高清不卡| 亚洲一区二区三| 亚洲欧美日韩一区二区三区在线观看 | 欧美成人久久| 欧美精品九九99久久| 欧美日韩精品一二三区| 欧美日韩你懂的| 国产精品久久久久aaaa樱花| 国产精品私房写真福利视频| 国产日韩综合一区二区性色av| 国产一区高清视频| 狠狠色噜噜狠狠色综合久| 亚洲成色777777在线观看影院| 亚洲国产片色| 99伊人成综合| 亚洲综合色噜噜狠狠| 欧美亚洲免费在线| 久久久久一本一区二区青青蜜月| 欧美aⅴ一区二区三区视频| 欧美日韩成人一区二区| 国产精品九九| 国产在线视频不卡二| 亚洲国产成人在线| 一本一道久久综合狠狠老精东影业 | 欧美日韩精品一区二区| 国产精品欧美日韩久久| 国产一区二区三区黄| 在线免费观看日韩欧美| 99精品欧美一区二区蜜桃免费| 亚洲一区二区免费| 久久精品在线视频| 欧美精品色一区二区三区| 国产精品xvideos88| 国产真实乱偷精品视频免| 在线观看日韩欧美| 一区二区av| 久久成人精品电影| 欧美成人三级在线| 国产精品久99| 激情视频一区| 9i看片成人免费高清| 欧美亚洲在线| 欧美激情小视频| 国产农村妇女精品一区二区| 亚洲第一天堂无码专区| 亚洲一区二区三区在线看| 久久久不卡网国产精品一区| 欧美精品一区二| 国产喷白浆一区二区三区| 亚洲国产午夜| 先锋影音一区二区三区| 欧美福利视频在线观看| 国产精品蜜臀在线观看| 亚洲国产精品va在线看黑人动漫| 亚洲香蕉网站| 欧美www视频| 国产午夜精品理论片a级探花| 亚洲三级国产| 久久九九精品99国产精品| 欧美日韩情趣电影| 雨宫琴音一区二区在线| 亚洲一区二区三区在线看 | 国产亚洲欧美另类中文| 99国产精品久久久| 久久久www成人免费毛片麻豆| 欧美日韩一区二区三区在线| 在线精品亚洲| 性欧美大战久久久久久久免费观看| 欧美激情一区二区在线| 狠狠色噜噜狠狠狠狠色吗综合| 亚洲视频福利| 欧美激情亚洲国产| 激情欧美一区|