asianfxilure
asianfxilure
CC#
Created by asianfxilure on 3/4/2024 in #help
Properly understanding Public Static
^^^ title, I've got a test coming up, I avoided understanding this last test and skipped the optional questions with them ... I think I'd rather try to understand them now. And so, For example;
public static EX1(double x)
{
return x*x;
}
public static EX1(double x)
{
return x*x;
}
What purpose does "double x" serve us here? Or, better yet. if it were to be broken down by each syntax, used & explained. Sorry if it sounds like a dumb question, That's why I came here to ask! P.S if the code is missing something, I apologize ... our teacher makes us learn on pen and paper so I don't always know how to properly write stuff on a console app.
205 replies
CC#
Created by asianfxilure on 10/18/2023 in #help
Need help with homework
Hiya, I've been trying to solve an exercise for a bit but it's boggling me. The exercise is: Write a program that accepts a 3 digit integer (100 for exmaple) and swaps the numbers in the ones and hundreds For example: 523 -> 325 i only know up to string, and the question requires me to solve it in a way a beginner would.
168 replies