/* break.c -- uses break to exit a loop */
#include
int main(void)
{
float length, width;
printf("Enter the length of the rectangle:\n");
while (scanf("%f", &length) == 1
/* +++Date last modified: 05-Jul-1997 */
/*
** Set or determine the status of the DOS "SET BREAK=" command
*/
#include
#include "snpdosys.h"
/*
** Returns status of DOS "SET BRE
/* Pango
* break.c:
*
* Copyright (C) 1999 Red Hat Software
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* Lic
#!/usr/bin/python
# Filename: break.py
while True:
s = raw_input('Enter something : ')
if s == 'quit':
break
print 'Length of the string is', len(s)
print 'Done'
//这个程序在本书所带软盘中,文件名为BREAK.CPP
//这个程序演示中断语句break的应用。
#include
#include
void main(void)
{
char text[] = "This is a test string. It contains two setances.";
int count;
/* A module of ASYNCx.LIB version 1.02 */
#include
#include "asyncdef.h"
/************************************************/
/** turn on the BREAK signal for between count **/
/** and