Please help me with the task: Salary negotiator

Hello, I’m working on this task:

Write a salary negotiation program that tells the user “I will give you {number} dollars, ok?” starting from 100. Every time the user answers “more”, it increases the number by 100. If the user answers “ok”, program outputs “Your salary is {number} dollars.” and exits. For example:
I will give you 100 dollars, ok?
>more
I will give you 200 dollars, ok?
>more
I will give you 300 dollars, ok?
>ok
Your salary is 300 dollars.

Here is my code:


using System;

namespace WhileLoop
{
   class SalaryNegotiator
   {
       static void Main(string[] args)
       {
           int startSalary = 100;
           bool needMore = true; 
           string response;
           while (needMore)
           {
               Console.Write($"I will give you {startSalary} dollars, ok?");
               response = Console.ReadLine();
               if (response == "more")
               {
                   startSalary += 100;
               }
               else {if(response == "ok"){
                   needMore = false;
               }
                   
               }
           }
           needMore = false;
           Console.WriteLine($"Your salary is {startSalary} dollars.");
       }
   }
}

Can anyone please help me to solve it?
IDK WHY ITS WRONG ive tested it in visual studio code and it worked wtf