Q&A Discussões
Apart from the Learn Java app, what books and internet resources would any helpful person on this forum suggest to a college freshman(me) taking intro to CS, and struggling?
Right now, I'm struggling with writing my own for loops and nested for loops.
I'm really confused.
Usually, I'm very good coming up with solutions to analytical problems, but intro to CS is making me feel really dumb.
I sincerely need help.
0 Voto
7 RespostasC SHARP PROBLEM
1 Voto
2 RespostasWhile prototyping friend functions in a class is it necessary to always pass the address of the object as parameter?If so why is it that we have to pass address as parameter..In programs involving compositions we never used addresses...Why is the need for address of the objects while using friend?
4 Votos
1 Respostahello every one
it is a usefull advice in learning this html course , leave html5 at the bigining & learn java script completly because in some sections (from 10/19 to end of the course) you need basic & even advance knowledge of JS . then your able to return to previous course & learn html5 easier.
goodluck.
1 Voto
3 Respostasabout svg. Q1: when setting up layout size, height & width, do we need an extra layout for some things different from the first layout. ie two layouts?
Q2: what is the purpose of the size? how does it affect graphics in it?
Q3: how to treat problem of over lapping or/and over ridding?
1 Voto
2 RespostasI need to design a recursive function called replicate recur which will receive two arguments: times which is the number of times to repeat and data which is the number or string to be repeated.
The function should return an array containing repetitions of the data argument.
For instance, replicate_recur (3, 5) should return [5,5,5].
If the times argument is negative or zero, return an empty array. If the argument is invalid, raise ValueError.
0 Voto
4 RespostasHi, I need assistance aka HELP!
I've done this calculation in various ways some of printed nothing but zeros non stop.
Using while loop calculate all numbers 1 to 1000 add numbers to sum = sum + i
int sum = 0;
// use a while loop to calculate the sum of 1 to 1000
While(int sum = 0; sum >= 1000; sum = sum + I){
System.out.println(sum);
}
0 Voto
4 RespostasHow can I make a reference for a list of variables. If false i want the system to check through all my variable to make sure they are false.
Code-
var2 = "Tanner"
var3 = "Jake"
question = input('What is your name? ')
if question == var2:
print('\nWelcome Back Tanner!')
if question == var3:
print('\nWelcome Back Jake!")
if question !=( This is where i need help!)( Is the != the correct way to write not equal?)
0 Voto
4 RespostasHi guys..I need your help..In my project, there is a task to create custom album for videos.album creation working fine.but i want to delete specific video from that album..Deleting whole custom album working.But struggling to delete specific video from album? pls give any solution or references ...thanks in advance
0 Voto
2 Respostasso far in section 1 question 2 area all of the videos have been ads that if you skip the add it just brings up the questions you need to answer. also if you play the add all the way thru you get the same exact thing. luckily I'm using this as a refresher course but I would think if I didn't know anything about c++ then I could be pretty lost missing videos.
0 Voto
2 Respostasusing a while loop create a guessing game program that keeps asking the user to enter a number until the user enters the number 7. You will need to create and initialise an int variable to zero. You can then use this variable as the condition in your while loop ( while the number is not equal to seven) Then in the while loop ask the user to enter a number and store the number entered in the number variable that is in the conditions of your loop.
0 Voto
1 RespostaQuente hoje
Ejercicio Pytho
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
Pig Latin
0 Votes
Uuu
1 Votes
How to start
0 Votes