u/Marigold_Pearl

CS 15 Marker

Okay so I gave instructions to ChatGPT about the question and it gave me a code

(Also, I am cooked)

Here:

// DECLARATIONS

DECLARE x : INTEGER

DECLARE TotalRainMM : REAL

DECLARE TotalRainCM : REAL

DECLARE AverageRain : REAL

DECLARE NoRainDays : INTEGER

DECLARE CurrentDryDays : INTEGER

DECLARE LongestDryDays : INTEGER

TotalRainMM ← 0

TotalRainCM ← 0

AverageRain ← 0

NoRainDays ← 0

CurrentDryDays ← 0

LongestDryDays ← 0

// INITIALISE ARRAY TO ZERO

FOR x ← 1 TO 365

Rain\[x\] ← 0

NEXT x

// INPUT RAINFALL DATA

FOR x ← 1 TO 365

PRINT "Enter rainfall in millimeters for day ", x

INPUT Rain\[x\]

// Add to total rainfall

TotalRainMM ← TotalRainMM + Rain\[x\]

// Count no rainfall days

IF Rain\[x\] = 0 THEN

NoRainDays ← NoRainDays + 1

// Count consecutive dry days

CurrentDryDays ← CurrentDryDays + 1

// Update longest dry period

IF CurrentDryDays > LongestDryDays THEN

LongestDryDays ← CurrentDryDays

ENDIF

ELSE

// Reset consecutive dry counter

CurrentDryDays ← 0

ENDIF

NEXT x

// -----------------------------------

// CALCULATIONS

// -----------------------------------

// Convert millimeters to centimeters

TotalRainCM ← TotalRainMM / 10

// Calculate average rainfall in millimeters

AverageRain ← TotalRainMM / 365

// -----------------------------------

// OUTPUT RESULTS

// -----------------------------------

PRINT "Total rainfall for the year: ", ROUND(TotalRainCM,2), " cm"

PRINT "Average rainfall for the year: ", ROUND(AverageRain,4), " mm"

PRINT "Number of days with no rainfall: ", NoRainDays

PRINT "Longest consecutive dry period: ", LongestDryDays, " days"

// -----------------------------------

// DROUGHT CHECK

// -----------------------------------

IF LongestDryDays >= 15 THEN

PRINT "Drought warning: There is a drought period."

ENDIF

reddit.com
u/Marigold_Pearl — 1 day ago

It's getting harder to wait

Look I know we still have physics and chemistry paper 1 left for 3rd and 9th June

But I am still gonna treat May 20th as the beginning of my vacation.

So is it just me or is getting harder to wait now?

Like I have been patiently spending time since April 28th, but now that it's about to end, I am being super impatient

Lol the fact I haven't gotten any sleep and my physics paper 4 shall begin in 5 hours 10 minutes

But yea do tell

And good luck 🤍

reddit.com
u/Marigold_Pearl — 4 days ago
▲ 11 r/Olevels

So how's physics P4 treating y'all?

I don't know it's just that every past paper I solve I get 38-40 easily..

The same happened in chemistry and then we all know what happened🙂

So how's it going with y'all

I am so worried

reddit.com
u/Marigold_Pearl — 4 days ago

Explain please

CAN SOMEONE BE AN ANGEL AND EXPLAIN THIS TO ME BECAUSE I AM HAVING CHILLS😍

u/Marigold_Pearl — 8 days ago

I am panicking

I know paper 1 is easy but I am just freaking out

Like why are there so many abbreviations in chapter 3 like MAR CIR IDE like I am tired

AND I JUST DISCOVERED ANNOTATED DIAGRAMS WHAT AM I SUPPOSED TO DO WITH THEM

Also I keep forgetting after memorizing when I am doing past papers

Nahi parrha jaraha

It feels like Kuch ajeeb sa horaha hai

I don't understand what to do

I mean I am a straight A's student I don't even have problems studying then why on earth is it bothering me so much 😔

reddit.com
u/Marigold_Pearl — 12 days ago

Please Explain

I am suffering to understand why these pros and cons are not going well with each other

Like benefit is that it's cheap and harm is that it's expensive 🥲

If I am dumb to miss something, please enlighten me

u/Marigold_Pearl — 13 days ago

Chemistry Paper 4 5070

Can anyone tell what was the answer to question 3

I am still not seeing anyone talk about it Like everyone is concerned for it lekin kia abhi tak we haven't figured out the solution?

reddit.com
u/Marigold_Pearl — 14 days ago

Okay so on May 19th, 2026 we are expecting our physics paper 4.

And after the recent events my brain cells have concluded that a state of fear should be initiated for that exam BECAUSE WHAT THE HELL WAS MATHS PAPER 1 AND CHEMISTRY PAPER 4.

I AM LOW-KEY SCARED FOR PHYSICS P4

There's little to no benefit of doing past papers as all of them were too easy and made me super confident about chemistry Paper 4, the cations and anions question was supposed to be the easiest. What on earth did they do with that.

I am scared that same will happen in Physics too

My paper 2 of physics didn't go the best and I was wondering if I could get my grade up in P4 and P1

reddit.com
u/Marigold_Pearl — 15 days ago
▲ 10 r/Olevels

What on earth was question 3

I know there are many geniuses out there

But I MESSED IT UP

BEEN STUDYING FOR MONTHS

SOLVED 20 PAST PAPERS FROM 5 YEARS

IGCSE alag solve kiye

For this???

reddit.com
u/Marigold_Pearl — 16 days ago