代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/454660/7386117
java ex4.java
// interfaces/Ex4.java
// TIJ4 Chapter Interfaces, Exercise 4, page 315
/* Create an abstract class with no methods. Derive a class and add a method.
* Create a static method that takes a referenc
www.eeworm.com/read/454660/7386124
java ex2.java
// interfaces/Ex2.java
// TIJ4 Chapter Interfaces, Exercise 2, page 315
// Create a class as abstract without including any abstract methods, and verify
// that you cannot create any instances of t
www.eeworm.com/read/454660/7386127
java testex5.java
// interfaces.TestEx5.java
// TIJ4 Chapter Interfaces, Exercise 5, page 320
// Create an interface containing three methods, in its own package. Implement it
// in another package.
/* Solution inc
www.eeworm.com/read/454660/7386135
java doctest.java
// object.DocTest.java
// TIJ4 Chapter Object, Exercise 12, page 90
/* Find the code for the second version of HelloDate.java, which is the simple
* comment documentation example. Execute Javadoc o
www.eeworm.com/read/452695/7436265
c ex8_01.c
/* Exercise 8.1 A function to calculate an average */
#include
#include
#include
double average(double data[], int count)
{
double sum = 0.0;
for(int i = 0
www.eeworm.com/read/452695/7436266
c ex8_04.c
/* Exercise 8.4 A function to return the number of words in a string passed as an argument */
#include
#include
#include
#define LENGTH_INCREMENT 20
#define MAX_
www.eeworm.com/read/452695/7436269
c ex10_01.c
/* Exercise 10.1 Reading types of strings from the keyboard */
/*
type 1: a sequence of lowercase letters followed by a digit. e.g. number1
type 2: two words that both begin with a capital letter a
www.eeworm.com/read/452695/7436302
c ex9_03.c
/* Exercise 9.3 Join array of strings into a single string */
#include
#include
#include
#include
#define MAX_STRINGS 100 /* Ma
www.eeworm.com/read/452695/7436307
c ex10_04.c
/* Exercise 10.4 A function to read a string terminated by an arbitrary character. */
#include
#include
#define MAX_SIZE 100
#define STRING_COUNT 5
char* getString(
www.eeworm.com/read/452695/7436310
c ex3_02.c
/* Exercise 3.2 Display a date */
#include
int main(void)
{
int month = 0;
int day = 0;
int year = 0;
printf("Enter the date as three integer values separated by spaces (mon