Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do it like the sample format is shown. Write a program for the following information: Year has 365 days. You create array for temperature

image text in transcribed

Please do it like the sample format is shown.

Write a program for the following information: Year has 365 days. You create array for temperature of each day in a year. Assign random temp values range of 30-110. Using a function Search in the array do you have 100 degree and what days. Print how many days and what days. Also print the Temp array in nice format in a function. Sample output C:\Users\Mr. Robot\source epos Practice\Debug\Practice.exe DAY Temp 186 213 216 238 326 1ee 1ee 1ee 1ee 102 **5 days have a temperature of 100 TEMPERATURE TABLE SORTED BY DAY: DAY Temp I DAY Temp 1 DAY Temp I DAY Temp DAY Temp 1 2 3 5 6 7 8 9 1e 11 12 13 14 15 16 17 18 19 2e 21 22 23 24 25 26 27 28 29 se 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 1e3 37 76 61 49 1e7 4e 1e2 96 74 86 82 7e 68 48 77 89 68 99 39 79 1e2 87 38 81 46 5e 96 65 38 58 74 41 97 42 7e 73 55 ze 43 53 58 73 75 49 99 76 74 75 76 77 78 79 se 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 1ee 101 102 1e3 104 1e5 106 1e7 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 49 1e5 42 89 31 92 49 62 71 se 110 47 44 1eg 58 85 99 61 54 96 62 86 49 45 62 60 62 98 67 72 78 32 1e1 186 54 se 4e 48 89 ze 11e 91 78 69 1e3 98 89 106 85 147 148 149 15e 151 152 153 154 155 156 157 158 159 162 161 162 163 164 165 166 167 168 169 17e 171 172 173 174 175 176 177 178 179 18e 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 47 88 60 58 6e 37 73 31 57 43 1e9 110 34 76 1e5 110 11e 104 99 88 34 ge 97 60 64 87 31 107 1e1 85 44 68 87 53 74 83 62 72 72 lee 1e2 104 85 81 184 104 56 95 47 220 221 222 223 224 225 226 227 228 229 23e 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 25e 251 252 253 254 255 256 257 258 58 49 77 41 78 7e 76 98 76 65 92 46 63 98 98 76 81 42 182 94 68 41 1e5 1e5 55 76 3e 65 52 48 95 38 99 68 71 56 98 72 ze 83 96 37 63 45 74 69 93 75 67 293 294 295 296 297 298 299 3ee 301 3e2 3e3 304 3e5 306 3e7 3e8 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 3e 73 93 31 33 ze 88 106 86 85 81 5e 59 11e 31 85 89 39 1e2 92 95 1e3 102 90 48 57 86 74 1e7 104 53 77 99 1ee 42 53 5e 1e2 se 68 96 1e2 94 75 83 86 4e 95 99 259 336 260 261 262 263 264 265 266 267 268 337 338 339 340 341 99

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo, Susan D. Urban, Karen C. Davis

4th Edition

1284231585, 978-1284231588

More Books

Students also viewed these Databases questions