Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

You need to keep it in one line as shown below.

***

Qualification


***
one year ago
Here is a possible solution:
***
*
package main
import "fmt"

func negate(myBool *bool) {
*myBool = !(*myBool)
}

func main() {
truth := true
negate(&truth)
fmt.Println(truth)

lie := false
negate(&lie)
fmt.Println(lie)
}
*
***
one year ago
Here is the correct code:
***


Website






Sidebar

Main




***
one year ago
The expected output is: **Hello World!**
one year ago
Hi Aditi, Thanks for your patience.

Here is a solution code for the exercise:

***
#include

int main() {

char cities[4][10];
int i;
for(i=0;i<4;i++) {
fgets(cities[i], 10, stdin);
}

printf("%s", cities[2]);

return 0;
}
***
one year ago
I hope the solution given below helps:

***
#include

int main() {

int x, y, z;
y = 10;
z = 99;

x = (z/(y+1))*11;

printf("Value of x is %d", x);

return 0;
}
***
one year ago
Here you go:
***
let str1 = 'ambush';
let str2 = 101;
let str3 = false;

var str4 = str2 + ' ' + str3 + str1;
console.log(typeof str4);
***
one year ago
Remove first console.log from your code.

Here is a working code:
***
let x = 10;
let y = 50;
let z = "10";

var xy = x >= y;
console.log(xy);

console.log(x === z);
***
one year ago
Please read the instructions carefully. It says do not use brackets.
Here is an example:
***
console.log(typeof ghost);
***
one year ago
Try with this code:
***
#include
int main() {
char st[13] = "Studytonight";
char frv[8] = "Forever";
printf("%s %s", st, frv);
return 0;
}
***
one year ago
Try this code:

***
#include

int main() {

printf("Character Garbage value - %c\n");
printf("Double Garbage value - %lf\n");

return 0;
}
***
one year ago