日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

 代寫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 安全程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 酒店vi設計 deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成PPT 阿里商辦

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

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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        韩国欧美国产1区| 午夜精品美女久久久久av福利| 亚洲欧洲中文日韩久久av乱码| 亚洲专区一二三| 亚洲国产岛国毛片在线| 欧美在线视频a| 在线观看日韩www视频免费| 欧美日韩在线播放三区四区| 欧美一级黄色网| 亚洲高清久久久| 欧美电影免费观看| 亚洲日本在线观看| 黄色一区二区在线观看| 欧美另类99xxxxx| 久久久蜜桃一区二区人| 亚洲国产欧美不卡在线观看| 欧美日韩二区三区| 亚洲一区二区三区精品在线观看| 欧美人牲a欧美精品| 久久成人这里只有精品| 国内精品免费在线观看| 欧美精品一区三区| 西西人体一区二区| 亚洲宅男天堂在线观看无病毒| 国产精品yjizz| 中文av一区二区| 亚洲精品国精品久久99热一| 国产精品视频一| 老司机免费视频一区二区| 在线观看欧美日韩国产| 国产精品久久精品日日| 久久久久国内| 久久成人免费视频| 亚洲宅男天堂在线观看无病毒| 精品盗摄一区二区三区| 国产精品你懂的| 欧美日韩在线观看视频| 午夜免费日韩视频| 欧美激情一区在线| 久久国产精品一区二区三区| 亚洲一区二区精品在线观看| 亚洲美女中文字幕| 国产日韩高清一区二区三区在线| 免费国产自线拍一欧美视频| 欧美与黑人午夜性猛交久久久| 在线观看一区| 国产欧美日韩亚洲| 国产目拍亚洲精品99久久精品| 欧美日韩福利视频| 欧美电影美腿模特1979在线看| 国内久久婷婷综合| 国产在线拍揄自揄视频不卡99| 欧美成人一区在线| 性一交一乱一区二区洋洋av| 亚洲伦理久久| 亚洲美女精品久久| 影音先锋亚洲电影| 国产日韩欧美精品| 欧美视频中文在线看| 欧美天堂亚洲电影院在线观看| 欧美日韩一区二区三区免费| 久久天天狠狠| 免费成人黄色| 欧美国产日韩二区| 欧美日韩99| 欧美日韩国产综合视频在线| 欧美激情一区二区三级高清视频| 美女久久一区| 久热成人在线视频| 久久精品道一区二区三区| 亚洲一区中文字幕在线观看| 欧美在线播放视频| 性欧美暴力猛交69hd| 欧美在线免费观看亚洲| 美女网站在线免费欧美精品| 欧美电影免费观看网站| 欧美一区国产二区| 欧美中文字幕| 久久亚洲春色中文字幕| 美女精品在线观看| 鲁大师成人一区二区三区| 亚洲欧美99| 午夜精品福利电影| 性欧美办公室18xxxxhd| 亚洲欧美日韩精品久久奇米色影视| 亚洲自拍电影| 欧美亚洲在线观看| 久久精品成人| 久热精品在线| 欧美日韩久久| 国产精品午夜在线观看| 国产欧美一区在线| 国产欧美亚洲精品| 亚洲高清视频一区二区| 亚洲国产影院| 欧美猛交免费看| 国产精品v欧美精品v日韩| 老司机一区二区| 欧美日韩亚洲在线| 欧美日韩一区二区欧美激情| 国产真实乱子伦精品视频| 国产欧美 在线欧美| 亚洲激情电影中文字幕| 亚洲视频一区在线观看| 欧美 日韩 国产 一区| 亚洲免费av电影| 久久aⅴ乱码一区二区三区| 狠狠久久亚洲欧美| 亚洲免费高清视频| 午夜精彩国产免费不卡不顿大片| 欧美在线你懂的| 久久免费视频观看| 欧美日韩一二三四五区| 国产一区在线免费观看| **性色生活片久久毛片| 91久久精品日日躁夜夜躁欧美| 亚洲韩国精品一区| 亚洲性av在线| 亚洲一区免费观看| 欧美r片在线| 欧美伦理在线观看| 在线日韩欧美| 欧美一区2区视频在线观看| 亚洲一区二区三区免费在线观看| 影音先锋另类| 亚洲免费在线| 国内成人精品2018免费看| 亚洲第一天堂无码专区| 久久精品国产精品亚洲综合| 久久久久在线观看| 葵司免费一区二区三区四区五区| 日韩一级在线| 国产精品永久免费观看| 禁断一区二区三区在线| 亚洲最新色图| 欧美成人精品在线观看| 国产网站欧美日韩免费精品在线观看| 国产精品外国| 亚洲图片在区色| 欧美成人中文| 国产精品综合不卡av| 国产亚洲精品资源在线26u| 91久久在线观看| 亚洲欧美日本国产有色| 久久人人97超碰人人澡爱香蕉| 99精品国产在热久久下载| 欧美亚洲午夜视频在线观看| 欧美巨乳在线| 1000部国产精品成人观看| 午夜精品剧场| 国产欧美一区二区视频| 99精品福利视频| 久久久久久高潮国产精品视| 久久综合狠狠综合久久综青草| 欧美大片在线看| 国产区欧美区日韩区| 欧美精品免费视频| 亚洲精品国产精品国产自| 久久九九电影| 好看的日韩视频| 欧美在线一二三四区| 国产一区二区三区高清在线观看| 亚洲欧美在线aaa| 国产精品日韩一区|