Davifus
自 2019 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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 ); ...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 1 个回答 | 0