Community Profile

photo

Davifus


Aktiv seit 2019

Statistiken

  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


how to modify input-output script to show how many line were copied.
ifn = input( 'input file name: ', 's' ); ofn = input('output file name: ', 's' ); ih = fopen( ifn, 'r' ); oh = fopen( ofn, 'w...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do i change my script to print out the second word of each even line?
fn = input( 'file name: ', 's' ); fh = fopen( fn, 'r' ); ln = ''; count=1; while ischar( ln ) ln = fgets( fh ); ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Creating vectors by rand() and looping it
The question: Create a vector A with 10 integer numbers by rand(), and ceil() or floor() or round. Each number is between 5 and...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Part of my program wont work and i just cant figure it out why.
The question is "The program asks for an input of a score(0-100). If the score is greater than or equal to 60, display “Congratu...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort