! @ ? ^
! and ^ are higher than @ but lower than ?
so ? > !,^ > @
? is left associative @ is not associative
1) | |
decl x : integer | |
decl y : integer | |
decl z : integer | |
set x = 3 | |
set y = 4 | |
set z = x + 2 * y - 3 | |
lvalue x | |
push 3 |
/** | |
* You have the fetch request to get api's | |
* So then how do you use it? | |
* Well we have fetch(); but we can also have | |
* fetch("api", get/post request and other stuff); | |
* | |
*/ | |
// return a promise | |
// console.log(fetch('https://reqres.in/api/users')); |
Question 3: | |
Kek i didnt do |
List of Scala and SBT Errors to help solve future issues:
https://roadmap.sh/ |
public static Server sjf() { | |
// The fitness value of a job to a server is defined as the difference between the number of cores the job requires and that in the server | |
System.out.println(""); | |
System.out.println("------- SJF ALGORITHIM ------"); | |
System.out.println(""); | |
System.out.println("CURRENT JOB: "); | |
System.out.println(currentJob.toString()); | |
System.out.println(""); |
public class things { | |
public static boolean containsSpace(String s) { | |
for(int i=0; i < s.length(); i++) { | |
if(s.charAt(i) == ' ') { | |
return true; | |
} | |
} | |
return false; | |
} | |